package com.yueyang.sojourn.server.model.po;

import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * @author yemingxing
 * @summary
 * @Copyright (c) 2020, Yueyang Group All Rights Reserved.
 * @since 2020-02-17
 */
public class SojournMerch {
    /**
     * 主键id
     */
    private Long id;

    /**
     * 所属项目id
     */
    private Long projectId;

    /**
     * 标题
     */
    private String title;

    /**
     * 副标题
     */
    private String subtitle;

    /**
     * 行程路线
     */
    private String travelRoute;

    /**
     * 图文描述
     */
    private String desc;

    /**
     * 购买须知
     */
    private String payNotice;

    /**
     * 可出行日期的开始日期
     */
    private Date availableDateBegin;

    /**
     * 可出行日期的结束日期
     */
    private Date availableDateEnd;

    /**
     * 出行天数: 天
     */
    private Integer days;

    /**
     * 出行天数: 晚
     */
    private Integer nights;

    /**
     * 单天库存
     */
    private Integer inventory;

    /**
     * 商品价格
     */
    private Integer price;

    /**
     * 优惠类型
     */
    private String sale;

    /**
     * 上架状态
     */
    private Integer shelfStatus;

    /**
     * 有效状态
     */
    private Integer status;

    /**
     * 创建人
     */
    private Long creator;

    /**
     * 创建时间
     */
    private Date createdTime;

    /**
     * 更新人
     */
    private Long updator;

    /**
     * 更新时间
     */
    private Date updatedTime;

    // =====join t_sojourn_layout_merch start=============================================
    /**
     * 商品分类Id
     */
    @Getter
    @Setter
    private Integer kindId;
    // =====join t_sojourn_layout_merch end=============================================


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSubtitle() {
        return subtitle;
    }

    public void setSubtitle(String subtitle) {
        this.subtitle = subtitle;
    }

    public String getTravelRoute() {
        return travelRoute;
    }

    public void setTravelRoute(String travelRoute) {
        this.travelRoute = travelRoute;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getPayNotice() {
        return payNotice;
    }

    public void setPayNotice(String payNotice) {
        this.payNotice = payNotice;
    }

    public Date getAvailableDateBegin() {
        return availableDateBegin;
    }

    public void setAvailableDateBegin(Date availableDateBegin) {
        this.availableDateBegin = availableDateBegin;
    }

    public Date getAvailableDateEnd() {
        return availableDateEnd;
    }

    public void setAvailableDateEnd(Date availableDateEnd) {
        this.availableDateEnd = availableDateEnd;
    }

    public Integer getDays() {
        return days;
    }

    public void setDays(Integer days) {
        this.days = days;
    }

    public Integer getNights() {
        return nights;
    }

    public void setNights(Integer nights) {
        this.nights = nights;
    }

    public Integer getInventory() {
        return inventory;
    }

    public void setInventory(Integer inventory) {
        this.inventory = inventory;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public String getSale() {
        return sale;
    }

    public void setSale(String sale) {
        this.sale = sale;
    }

    public Integer getShelfStatus() {
        return shelfStatus;
    }

    public void setShelfStatus(Integer shelfStatus) {
        this.shelfStatus = shelfStatus;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getCreator() {
        return creator;
    }

    public void setCreator(Long creator) {
        this.creator = creator;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Long getUpdator() {
        return updator;
    }

    public void setUpdator(Long updator) {
        this.updator = updator;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }
}